/**
 * 文件名：ArticleQueryModel
 * 版权：Copyright by www.fsmeeting.com
 * 描述：
 * 修改人：kezs
 * 修改时间：2017/10/11
 * 修改内容：
 */
package com.huluhome.domain;

/**
 * 〈一句话功能简述〉
 *
 * @author kezs
 * @version 2017/10/11
 * @see ArticleQueryModel
 */
public class ArticleQueryModel extends Article {
    private int rowNumber = 0;
    private int pageSize = 100;

    public int getRowNumber() {
        if (rowNumber == 0) {
            return rowNumber;
        }
        return rowNumber* pageSize + 1 ;
    }

    public void setRowNumber(int rowNumber) {
        this.rowNumber = rowNumber;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
